<template>
    <div>
        <Student :name="name" :sex="sex" :age="age"></Student>
    </div>
</template>

<script>
import Student from './components/Student.vue';
export default {
    name: "App",
    //汇总所有的组件
    components: {
        Student
    },
    data(){
        return{
            name:"hjjjj",
            age:17,
            sex:'男'
        }
    },
    methods:{
        
    }
}
</script>